package com.cddx.logistics.domain.vo;

import lombok.Data;

import java.util.List;

@Data
public class NewProductStatsVO {
    private ChartData chartData;
    private List<TableData> tableData;
    private int total;

    @Data
    public static class ChartData {
        private int completedCount; // 已完成数量
        private int pendingCount;  // 未完成数量
    }

    @Data
    public static class TableData {
        private Integer id;
        private String name;       // 项目名称
        private boolean completed; // 完成状态
        private boolean inStock;   // 入库状态
    }
}